﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using EasyStep.Data.Entities;

namespace EasyStep.Website.Models
{
    public class TestConstListCreateModel
    {
        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "Group Name")]
        public string Name { get; set; }
        
        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "Relate to Site/Project")]
        public string ProjectNameOrId { get; set; }
        

        [Required]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Description")]
        public string Description { get; set; }        
    }


    public class TestConstListEditModel
    {
        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "Id")]
        public string Id { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "Group Name")]
        public string Name { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "Relate to Site/Project")]
        public string ProjectNameOrId { get; set; }


        [Required]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Description")]
        public string Description { get; set; }        
    }
}
